package com.fc.v2.mapper.auto;

import com.fc.v2.model.auto.Campus;
import com.fc.v2.model.auto.CampusExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 机构校区表 CampusMapper
 * @author fuce_自动生成
 * @email ${email}
 * @date 2021-06-15 15:28:01
 */
public interface CampusMapper {
      	   	      	      	      	      	      	      	      	      
    long countByExample(CampusExample example);

    int deleteByExample(CampusExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(Campus record);

    int insertSelective(Campus record);

    List<Campus> selectByExample(CampusExample example);
		
    Campus selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") Campus record, @Param("example") CampusExample example);

    int updateByExample(@Param("record") Campus record, @Param("example") CampusExample example); 
		
    int updateByPrimaryKeySelective(Campus record);

    int updateByPrimaryKey(Campus record);

    List<Campus> getAllCampus(@Param("mechanismId") Integer mechanismId);
  	  	
}